package com.fruit.dao;

import com.fruit.pojo.Fruit;

import java.util.List;

public interface FruitDAO {
    void addFruit(Fruit fruit) throws Exception;

    List<Fruit> getFruitList(Fruit fruit) throws Exception;

    void deleteFruit(Integer id) throws Exception;

    Fruit getFruitById(Integer id) throws Exception;
}
